#include <stdint.h>

#ifndef __ROM_BUFF_H
#define __ROM_BUFF_H

/* Each structure is 56 bytes (0x38) long
 * They are aranged in memory one after the other like an array
 * See Object structure comments for more info about the size of these arrays
 */

struct RomBuff
{
 /* 00 */   uint8_t     unknown1[4];
 /* 04 */   uint32_t    id;             // the ID of the buffi
 /* 08 */   uint8_t     unknown2[12];
 /* 14 */   float       duration;	    // Buff duration remaining in seconds
 /* 18 */   uint8_t     unknown3[16];
 /* 28 */   uint32_t    level;          // Level of the buff
 /* 2C */   uint8_t     unknown4[12];
} __attribute__((packed));

#endif
